package org.lanqiao.userprofile.movie.controller;


import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;

import javax.servlet.http.HttpServletRequest;


/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author root
 * @since 2023-09-26
 */
@Controller
@RequestMapping("/dwd-user-info")
public class DwdUserInfoController {

    @RequestMapping("/getString")
    public String getString(HttpServletRequest request) {
        String name = "全栈学习笔记";
        request.setAttribute("name", name);
        return "index.html";
    }

    @RequestMapping("/index")
    public String index(HttpServletRequest request) {
        String name = "全栈学习笔记";
        request.setAttribute("name", name);
        return "admin.html";
    }


}
